feat(github): add GitHub OAuth integration with @repo mentions#918
Open
TerminallyLazy wants to merge 3 commits intoagent0ai:developmentfrom
Open
feat(github): add GitHub OAuth integration with @repo mentions#918TerminallyLazy wants to merge 3 commits intoagent0ai:developmentfrom
TerminallyLazy wants to merge 3 commits intoagent0ai:developmentfrom
Conversation
8fb15c0 to
fef80be
Compare
Add GitHub integration to Agent Zero with two main features: ## GitHub OAuth Integration - Connect to GitHub via Settings > GitHub tab - OAuth flow with secure token storage - View connected user profile and disconnect option - Repository browser with file/folder navigation ## @repo Mentions in Chat - Type @ in chat input to open autocomplete dropdown - Search/filter through your GitHub repositories - Arrow keys cycle through list, Enter to select - Selected repos appear as removable chips above input - Agent receives repo context (metadata + file tree) in prompt - Agent can use `github` tool to read specific files from mentioned repos Files added: - webui/components/settings/github/ - Settings UI components - webui/components/chat/input/repo-mention-*.html/js - Mention UI - python/api/github_*.py - Backend API handlers - python/extensions/message_loop_prompts_after/_8*.py - Context injection - python/tools/github.py - Agent tool for GitHub operations - prompts/agent.*.github*.md - Prompt templates Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fef80be to
da8c884
Compare
belikh
pushed a commit
to belikh/agent-zero
that referenced
this pull request
Jan 23, 2026
Merge branch with UI improvements including: - Process group and step detail modal - Chat navigation store - Action buttons styling - Image viewer updates - Various Python backend refinements Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Updated .gitignore to include new directories for agent and claude. - Changed default redirect URI in GithubOauth to use port 80. - Added GitHub client ID and secret keys to dotenv management. - Enhanced settings structure to accommodate GitHub OAuth credentials. - Implemented UI for GitHub OAuth configuration in the settings page, including input fields for Client ID and Client Secret.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add GitHub integration to Agent Zero with two main features:
GitHub OAuth Integration
@repo Mentions in Chat
githubtool to read specific files from mentioned reposFiles added: